package com.by.api;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("sc-goods")
@RequestMapping("api")
public interface StockClient {

    @GetMapping("/stock/{id}")
    String getStock(int id);
}
